﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Master.Master" AutoEventWireup="true"
    CodeBehind="wFrmRequerimiento.aspx.cs" Inherits="Crosland.Automotriz.Web.Requerimiento.wFrmRequerimiento" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
    <div class="main-header" style="width: 100%">
        <div class="main-titulo" style="width: 87%;">
            Requeriemientos
        </div>
    </div>
    <table>
        <tr>
            <td>
                <dx:ASPxButton ID="btnNuevo" runat="server" Text="Nuevo" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    Width="100px" onclick="btnNuevo_Click">
                    <Paddings Padding="4px" />
                </dx:ASPxButton>
            </td>
            <td>
                <dx:ASPxButton ID="btnModificar" runat="server" Text="Modificar" AutoPostBack="False"
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                    Width="100px" onclick="btnModificar_Click">
                    <Paddings Padding="4px" />
                </dx:ASPxButton>
            </td>
            <td>
                <dx:ASPxButton ID="btnAnular" runat="server" Text="Anular" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    Width="100px">
                    <ClientSideEvents Click="function(s, e) {
	PopupMsjConfirmacion.Show();
}" />
                    <Paddings Padding="4px" />
                </dx:ASPxButton>
            </td>
            <td>
                <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                    Width="100px" onclick="btnSalir_Click">
                    <Paddings Padding="4px" />
                </dx:ASPxButton>
            </td>
        </tr>
    </table>
    <div class="content-form">
        <dx:ASPxRoundPanel ID="rpRequerimiento" runat="server" Width="90%" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
            CssPostfix="Office2010Blue" EnableDefaultAppearance="False" GroupBoxCaptionOffsetX="6px"
            GroupBoxCaptionOffsetY="-19px" HeaderText="" ShowHeader="False" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
            View="GroupBox">
            <ContentPaddings PaddingBottom="10px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="10px" />
            <HeaderStyle>
                <Paddings PaddingBottom="6px" PaddingLeft="9px" PaddingRight="11px" PaddingTop="3px" />
            </HeaderStyle>
            <PanelCollection>
                <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                    <dx:ASPxGridView ID="grdListaRequeriemiento" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                        CssPostfix="Office2010Blue" Width="100%" AutoGenerateColumns="False" 
                        KeyFieldName="ID_LOG_REQUERIMIENTO" 
                        OnAfterPerformCallback="grdListaRequeriemiento_AfterPerformCallback">
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="Nro.Req" FieldName="ID_LOG_REQUERIMIENTO" ShowInCustomizationForm="True"
                                VisibleIndex="0">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Proceso" FieldName="PROCESO" ShowInCustomizationForm="True"
                                VisibleIndex="2">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Descripción" FieldName="DESCRIPCION" ShowInCustomizationForm="True"
                                VisibleIndex="3">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Estado" FieldName="ESTADO" ShowInCustomizationForm="True"
                                VisibleIndex="4">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Fec.registro" FieldName="FECHA_REGISTRO" 
                                ShowInCustomizationForm="True" VisibleIndex="1">
                                <PropertiesTextEdit DisplayFormatString="dd/MM/yyyy">
                                </PropertiesTextEdit>
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsBehavior AllowFocusedRow="True" />
                        <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                            <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanelOnStatusBar>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </Images>
                        <ImagesFilterControl>
                            <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                            </LoadingPanel>
                        </ImagesFilterControl>
                        <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                            <Header ImageSpacing="5px" SortingImageSpacing="5px">
                            </Header>
                            <LoadingPanel ImageSpacing="5px">
                            </LoadingPanel>
                        </Styles>
                        <StylesPager>
                            <PageNumber ForeColor="#3E4846">
                            </PageNumber>
                            <Summary ForeColor="#1E395B">
                            </Summary>
                        </StylesPager>
                        <StylesEditors ButtonEditCellSpacing="0">
                            <ProgressBar Height="21px">
                            </ProgressBar>
                        </StylesEditors>
                    </dx:ASPxGridView>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxRoundPanel>
    </div>


    <table>
    <tr>
    <td>
    
    
    <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" ClientInstanceName="popupmsj"
                            CloseAction="None" 
                   CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                            EnableViewState="False" HeaderText="Mensaje"
                            Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                   Width="300px" EnableHotTrack="False">
                            <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                            </LoadingPanelImage>
                            <HeaderStyle>
                                <Paddings PaddingLeft="7px" />
                                <Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px" />
                            </HeaderStyle>
                            <LoadingPanelStyle ImageSpacing="5px">
                            </LoadingPanelStyle>
                            <ContentCollection>
                                <dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">
                                    <br />
                                    <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                                        <PanelCollection>
                                            <dx:PanelContent ID="Panelpopup" runat="server">
                                                <table align="center">
                                                    <tr>
                                                        <td colspan="2">
                                                            <dx:ASPxLabel ID="lblmsj" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                                CssPostfix="Office2010Blue">
                                                            </dx:ASPxLabel>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table align="center">
                                                    <tr>
                                                        <td align="center" style="width: 215px">
                                                            <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" AutoPostBack="False"
                                                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                                <ClientSideEvents Click="function(s, e) {popupmsj.Hide();}" />
                                                                <Image Url="~/Images/ok.png">
                                                                </Image>
                                                            </dx:ASPxButton>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </dx:PanelContent>
                                        </PanelCollection>
                                    </dx:ASPxPanel>
                                </dx:PopupControlContentControl>
                            </ContentCollection>
                        </dx:ASPxPopupControl>
    
    </td>
    <td>
    
    <dx:ASPxPopupControl ID="PopupMsjConfirmacion" runat="server" AllowDragging="True"
                                    ClientInstanceName="PopupMsjConfirmacion" CloseAction="CloseButton" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" EnableViewState="False" HeaderText="Mensaje" Modal="True"
                                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    Width="300px" EnableHotTrack="False">
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                                    </LoadingPanelImage>
                                    <HeaderStyle>
                                        <Paddings PaddingLeft="7px" />
                                    </HeaderStyle>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ContentCollection>
                                        <dx:PopupControlContentControl ID="PopupControlContentControl6" runat="server" SupportsDisabledAttribute="True">
                                            <br />
                                            <dx:ASPxPanel ID="ASPxPanel6" runat="server" DefaultButton="btCreate">
                                                <PanelCollection>
                                                    <dx:PanelContent ID="PanelContent5" runat="server">
                                                        <table>
                                                            <tr>
                                                                <td colspan="3">
                                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;¿Estas seguro de anular este registro
                                                                    ?
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="3">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                </td>
                                                                <td>
                                                                    <dx:ASPxButton ID="btnPopAceptar" runat="server" AutoPostBack="False" ClientInstanceName="btnPopAceptar"
                                                                        CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                                        OnClick="btnPopAceptar_Click" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                                        Text="Aceptar" Width="10px">
                                                                        <Image Url="~/Images/ok.png">
                                                                        </Image>
                                                                    </dx:ASPxButton>
                                                                </td>
                                                                <td>
                                                                    <dx:ASPxButton ID="btnPopCancelar" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                                                        CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                                                        Text="Cancelar" Width="10px">
                                                                        <ClientSideEvents Click="function(s, e) {
	PopupMsjConfirmacion.Hide();
}" />
                                                                        <Image Url="~/Images/delete.png">
                                                                        </Image>
                                                                    </dx:ASPxButton>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </dx:PanelContent>
                                                </PanelCollection>
                                            </dx:ASPxPanel>
                                        </dx:PopupControlContentControl>
                                    </ContentCollection>
                                </dx:ASPxPopupControl>
    </td>
    
    </tr>
        
    </table>

</asp:Content>

